package com.wink_172.expend

/**
 *
 * 拓展函数 p235
 */
class String {
    fun String.lettersCount():Int{
        var count=0
        for (char in "ABDCDE"){
            if(char.isLetter()){
                count++;
            }
        }

        return count;
    }
}